﻿<Application 
    x:Class="Kiva7.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:local ="clr-namespace:Kiva7.Translations">

    <!--Application Resources-->
    <Application.Resources>
    	<ResourceDictionary>
    		<ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Resources/PivotResource.xaml"/>
                <ResourceDictionary Source="Resources/ValueConverterResource.xaml"/>
                <ResourceDictionary Source="Resources/TextResource.xaml"/>
                <ResourceDictionary Source="Resources/ApplicationBarResource.xaml"/>
                <ResourceDictionary Source="Resources/ProgressBarResource.xaml"/>
                <ResourceDictionary Source="Resources/ControlResource.xaml"/>
            </ResourceDictionary.MergedDictionaries>

            <local:LocalizedStrings x:Key="L" />

    		<SolidColorBrush x:Key="KivaBackgroundBrush" Color="White"  Opacity="0" />

    	</ResourceDictionary>

    </Application.Resources>

    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>

</Application>